ZPOS\Model\Cart S

Total Complexity 47
Dependencies 3
Dependents 3
Total lines 287
Lines of code 240
Logical lines of code 129
Comment lines 0
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
clear_cart()
A
50 8 28
restore_cart()
A
47 7 36
remove_from_cart()
S
50 6 27
change_product_quantity()
S
47 5 37
add_item()
S
51 4 28
update_product_quantity()
S
53 4 23
get_related_ids()
S
57 2 17
restore_product_quantity()
S
66 2 8
delete_scheduled_hook()
S
67 2 8
get_management_related_product_id()
S
75 2 4
__construct()
S
78 1 3
get_cart_items()
S
78 1 3
create_cart_cron_job()
S
63 1 10
get_option_name()
S
80 1 3
is_cron_job_expired()
S
72 1 5